﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.EntityFrameworkCore;

namespace MYData.Entity.DomainModels.ApiEntity.Dto
{
    public class tb_project_reviewstandar_itemDto
    {

        /// <summary>
        ///标准选项内容
        /// </summary>
        [Display(Name = "标准选项内容")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(255)")]
        [Required(AllowEmptyStrings = false)]
        public string dselectionName { get; set; }

        /// <summary>
        ///评审分数
        /// </summary>
        [Display(Name = "评审分数")]
        [Column(TypeName = "int")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public int totalPoints { get; set; }

        /// <summary>
        ///创建人
        /// </summary>
        [Display(Name = "创建人")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        public string creator { get; set; }

        /// <summary>
        ///创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [Column(TypeName = "datetime")]
        public DateTime? createDate { get; set; }



        /// <summary>
        ///修改人
        /// </summary>
        [Display(Name = "修改人")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        [Editable(true)]
        public string modifier { get; set; }

        /// <summary>
        ///修改时间
        /// </summary>
        [Display(Name = "修改时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime? modifierTime { get; set; }



        /// <summary>
        ///是否删除
        /// </summary>
        [Display(Name = "是否删除")]
        [Column(TypeName = "int")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public int isDelete { get; set; }

        //public tb_project_reviewstandarDto data {get;set;}
    }
    //public class tb_project_reviewstandarDto
    //{
    //    /// <summary>
    //    ///标准ID
    //    /// </summary>
    //    [Key]
    //    [Display(Name = "标准id")]
    //    [MaxLength(64)]
    //    [Column(TypeName = "nvarchar(64)")]
    //    [Editable(true)]
    //    [Required(AllowEmptyStrings = false)]
    //    public string standarID { get; set; } = new Snowflake.Core.IdWorker(1, 1).NextId().ToString();
    //    /// <summary>
    //    ///标准名称
    //    /// </summary>
    //    [Display(Name = "标准名称")]
    //    [MaxLength(200)]
    //    [Column(TypeName = "nvarchar(200)")]
    //    [Required(AllowEmptyStrings = false)]
    //    public string standarName { get; set; }

    //    /// <summary>
    //    ///描述
    //    /// </summary>
    //    [Display(Name = "描述")]
    //    [MaxLength(255)]
    //    [Column(TypeName = "nvarchar(255)")]
    //    public string remark { get; set; }

    //    /// <summary>
    //    ///评判类别
    //    /// </summary>
    //    [Display(Name = "评判类别")]
    //    [Column(TypeName = "int")]
    //    public int? scoreType { get; set; }

    //    /// <summary>
    //    ///创建人
    //    /// </summary>
    //    [Display(Name = "创建人")]
    //    [MaxLength(64)]
    //    [Column(TypeName = "nvarchar(64)")]
    //    public string creator { get; set; }
    //    /// <summary>
    //    ///创建时间
    //    /// </summary>
    //    [Display(Name = "创建时间")]
    //    [Column(TypeName = "datetime")]
    //    [Required(AllowEmptyStrings = false)]
    //    public DateTime createDate { get; set; }

    //    /// <summary>
    //    ///修改人
    //    /// </summary>
    //    [Display(Name = "修改人")]
    //    [MaxLength(64)]
    //    [Column(TypeName = "nvarchar(64)")]
    //    public string modifier { get; set; }
    //    /// <summary>
    //    ///修改时间
    //    /// </summary>
    //    [Display(Name = "修改时间")]
    //    [Column(TypeName = "datetime")]
    //    [Editable(true)]
    //    public DateTime? modifierTime { get; set; }

    //    /// <summary>
    //    ///是否删除
    //    /// </summary>
    //    [Display(Name = "是否删除")]
    //    [Column(TypeName = "int")]
    //    [Required(AllowEmptyStrings = false)]
    //    public int isDelete { get; set; }
    //}

}
